package com.example.project1.activity;

import org.xutils.view.annotation.ViewInject;

import com.example.project1.R;
import com.example.project1.R.layout;
import com.example.project1.R.menu;
import com.example.project1.fragment.HuJiao_wuliao_Fragment;

import android.os.Bundle;
import android.app.Activity;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.view.Menu;
import android.widget.LinearLayout;

public class HuJiaoActivity extends BaseActivity {
@ViewInject(value=R.id.ll_fragment_wuliao)
private LinearLayout linear;
private HuJiao_wuliao_Fragment hujiaoFrag;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_hujiao);
		showWuLiaoFragment();
	}

	private void showWuLiaoFragment(){
		FragmentTransaction transaction=getSupportFragmentManager().beginTransaction();
		hujiaoFrag=new HuJiao_wuliao_Fragment();
		transaction.add(R.id.ll_fragment_wuliao , hujiaoFrag);
		transaction.show(hujiaoFrag);
		transaction.commit();
	}
}
